package com.changhai.diabetes.service;

import java.util.List;

import com.changhai.diabetes.model.Patient;
import com.changhai.diabetes.model.Personal;
import com.changhai.diabetes.model.QueryDTO;
import com.changhai.diabetes.model.page.Page;

/**
 * 个人史
 * @author Andy
 *
 */
public interface PersonalService {

	/**
	 * 根据患者id查找个人史记录
	 * @param patientId
	 * @return
	 */
	public Personal searchByPatientId(Long patientId);
	
	/**
	 * 保存编辑的患者个人史信息
	 * @param personal
	 */
	public void saveEditPersonal(Personal personal);
	
	/**
	 * 新增个人史
	 * @param personal
	 * @return
	 */
	public Long saveNewPersonal(Personal personal);

}
